View Issue Details

IDProjectCategoryView StatusLast Update
0002012T99X171.00 SKB EagleSW Issuepublic2024-12-19 10:52
Reporter(ALTech) JunGyu Kim Assigned To(SW) Bcan Yeh Due Date2024-11-12 10:18
PrioritynormalSeveritys4-minorReproducibilityN/A
Status closedResolutionreopened 
Summary0002012: [ATT] A feature that delete after 24 hours installing the ATT daemon
DescriptionHi Bcan,

From SKB, a specific box not being upgraded in the field, so we have checked the box.
It seems that the ATT daemon seems to be activated.

After checking the ATT protocol, we found that there is an action that deletes the ATT daemon after 24 hours of installation.

1. Please check whether this action is performed within ATT or elsewhere.
2. Please explain how the feature that deletes after 24 hours works.

Thank you.
Kim
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) Jong-Hwa JUNG , (ALTech) Sangmin Choi , (ALTech) SY Yoon , (ALTech) Wooshin Kang , (ALTech) Younkwang Jung , (Sales) Miya Wang , (SW) Kerwin Chen

Activities

(ALTech) JunGyu Kim

2024-11-11 09:28

developer  

image.png (233,732 bytes)   
image.png (233,732 bytes)   

(SW) Bcan Yeh

2024-11-11 10:21

developer   ~0016969

Last edited: 2024-11-11 10:22

Hi Kim,

1. This feature is implemented in ATTDaemon. (installed from USB disk)
2. "deletes after 24 hours" only works while the box is NTP-synced.

(ALTech) JunGyu Kim

2024-11-11 10:48

developer   ~0016971

Hi Bcan,

Thank you for explain.
Additionally, could you let me know how to disable upgrade service?
Please explain when you used command for disable upgrade service (ex. am force-stop or pm uninstall ...)

Thank you.
Kim

(ALTech) JunGyu Kim

2024-11-12 08:38

developer   ~0016983

Hi Bcan,

Please let me know below questions.

1. Could you let me know how to disable upgrade service?Please let me know the command you used to disable the upgrade service. (ex. am force-stop or pm uninstall ...)
2. When ATTDaemon deletes after 24 hours, restoration the upgrade service?

Thank you.
Kim

(SW) Bcan Yeh

2024-11-12 10:56

developer   ~0016986

Hi Kim,

1. We use "am force-stop".
2. No, we don't restore the upgrade service.
    The behaviors after the event "deletes after 24 hours" are not defined in document.
    You can 1. reinstall ATTDaemon (insert USB disk) to finish the ATT test.
              or 2. do factory reset.

(ALTech) JunGyu Kim

2024-11-12 11:57

developer   ~0016987

Hi Bcan,

1. We use "am force-stop".
  => I have test with below command, but upgrade service is still working. Is it correct command?

BFX-AT100:/ # am force-stop com.skb.btv.upgrade

BFX-AT100:/ # ps -ef | grep upgrade
system 11493 3408 4 12:53:54 ? 00:00:00 com.skb.btv.upgrade
root 11529 10188 12 12:53:58 pts/0 00:00:00 grep upgrade

BFX-AT100:/ # dumpsys package com.skb.btv.upgrade | grep stopped
    User 0: ceDataInode=231271 installed=true hidden=false suspended=false distractionFlags=0 stopped=false notLaunched=false enabled=0 instant=false virtual=false


If I activate ATT daemon, the upgrade service's stopped status is true.
// Activate ATT daemon
dumpsys package com.skb.btv.upgrade | grep stopped
    User 0: ceDataInode=0 installed=false hidden=false suspended=false distractionFlags=0 stopped=true notLaunched=true enabled=0 instant=false virtual=false

Thank you.
Kim

(SW) Bcan Yeh

2024-11-12 13:59

developer   ~0016988

Hi Kim,

   Why do you want to know this in such detail?

(ALTech) JunGyu Kim

2024-11-12 16:29

developer   ~0016991

Hi Bcan,

There are some boards that are not being upgraded, so SKB are asking us about the cause.
Also SKB is asking us for a command that can create the same state.
So I am asking you in detail. Please understand current status.

Thank you.
Kim

(SW) Bcan Yeh

2024-11-12 17:09

developer   ~0016992

Hi Kim,

    Please try "setprop vendor.vasott.stop_upgrade 1".
    We updated the way to trigger "am force-stop".

(ALTech) JunGyu Kim

2024-11-13 12:26

developer   ~0016996

Last edited: 2024-11-13 12:29

Hi Bcan,

I have tried "setprop vendor.vasott.stop_upgrade 1".
Immediately after, I checked the property and the result as below:

BFX-AT100:/ # setprop vendor.vasott.stop_upgrade 1
BFX-AT100:/ # getprop | grep upgrade
[vendor.vasott.stop_upgrade]: []

dumpsys package result is not changed.
BFX-AT100:/ # dumpsys package com.skb.btv.upgrade | grep stopped
    User 0: ceDataInode=231271 installed=true hidden=false suspended=false distractionFlags=0 stopped=false notLaunched=false enabled=0 instant=false virtual=false


I'm wondering if ATT doesn't use the pm uninstall command.
This is because when I used the pm uninstall command, it changed to the same state as when I activated the ATT daemon.

BFX-AT100:/ # pm uninstall -k --user 0 com.skb.btv.upgrade
Success
BFX-AT100:/ # dumpsys package com.skb.btv.upgrade | grep stopped
    User 0: ceDataInode=0 installed=false hidden=false suspended=false distractionFlags=0 stopped=true notLaunched=true enabled=0 instant=false virtual=false

Thank you.
Kim

(SW) Bcan Yeh

2024-11-14 09:13

developer   ~0017009

Hi Kim,

    My mistake. Both commands are used.
    pm uninstall -k --user 0 com.skb.btv.upgrade
    am force-stop com.skb.btv.upgrade

    You can ignore "setprop vendor.vasott.stop_upgrade 1" and use "am force-stop" directly.

(ALTech) JunGyu Kim

2024-11-14 09:36

developer   ~0017010

Hi Bcan,

Thank you for checking.
I will close this ticket and let you know if SKB have any further questions.

Thank you.
Kim

(ALTech) JunGyu Kim

2024-11-14 14:49

developer   ~0017017

Hi Bcan,

SKB wants to test two tasks by directly entering commands.
If there are any commands that you use when performing the following two tasks in ATT, please let me know.

1. Revoke Authentication
2. Factory Default

Sorry for the inconvenience.

Thank you.
Kim

(ALTech) JunGyu Kim

2024-11-14 14:50

developer   ~0017019

image-2.png (259,780 bytes)   
image-2.png (259,780 bytes)   

(ALTech) JunGyu Kim

2024-11-15 14:57

developer   ~0017026

Hi Bcan,

Please let me know below questions.
If there are any commands that you use when performing the following two tasks in ATT, please let me know.

1. Revoke Authentication
2. Factory Default

Thank you.
Kim

(ALTech) JunGyu Kim

2024-11-18 13:29

developer   ~0017032

Hi Bcan,

Could you please update this issue?

Thank you.
Kim

(ALTech) Younkwang Jung

2024-11-18 14:07

developer   ~0017034

Hi Bacn

Please check what JunGyu requested.
https://btracker-cns.fii-foxconn.com/vaas/view.php?id=2012#c17017

It's not difficult, but SKB is complaining about not checking it quickly

Thank you
Yk.Jung

(ALTech) JunGyu Kim

2024-11-21 08:54

developer   ~0017046

Hi Bcan,

Currently, SKB is assuming that some STBs distributed that have not been factory reset after completing the ATT test.
Therefore, SKB is asking for the command that ATT uses for factory reset and revoke authentication.
SKB is trying to create the same state directly and test it without using ATT.
Please understand for asking in detail due to this situation, and we would like you to check if there is a command.

Thank you.
Kim

(SW) Kerwin Chen

2024-11-21 09:06

developer   ~0017047

Hi Mr. JunGyu Kim,

Is there a JIRA on SKB system?
Please share it and we can understand how to reply.
Thanks!

(ALTech) JunGyu Kim

2024-11-21 12:02

developer   ~0017051

Hi Kerwin,

Jira ticket : https://jira.skbroadband.com/browse/BPM-39208
Regarding the command my requested, I received the request directly by phone from the SKB manager.

Thank you.
Kim

(SW) Bcan Yeh

2024-11-21 18:44

developer   ~0017059

Hi Kim,

Please try these commands
1. Revoke Authentication
   => am broadcast -a com.vasott.attdaemon.test10
2. Factory Default
  => am broadcast -a com.vasott.attdaemon.test24

(ALTech) JunGyu Kim

2024-11-22 08:36

developer   ~0017060

Hi Bcan,

Thank you for support.
I will let you know if there are additional questions.

Thank you.
Kim

Issue History

Date Modified Username Field Change
2024-11-11 09:28 (ALTech) JunGyu Kim New Issue
2024-11-11 09:28 (ALTech) JunGyu Kim Status new => assigned
2024-11-11 09:28 (ALTech) JunGyu Kim Assigned To => (SW) Bcan Yeh
2024-11-11 09:28 (ALTech) JunGyu Kim File Added: image.png
2024-11-11 09:28 (ALTech) JunGyu Kim Issue Monitored: (ALTech) SY Yoon
2024-11-11 09:28 (ALTech) JunGyu Kim Issue Monitored: (ALTech) Wooshin Kang
2024-11-11 09:28 (ALTech) JunGyu Kim Issue Monitored: (ALTech) Younkwang Jung
2024-11-11 09:28 (ALTech) JunGyu Kim Issue Monitored: (ALTech) Jong-Hwa JUNG
2024-11-11 09:28 (ALTech) JunGyu Kim Issue Monitored: (ALTech) Sangmin Choi
2024-11-11 09:30 (ALTech) Younkwang Jung Issue Monitored: (Sales) Miya Wang
2024-11-11 09:30 (ALTech) Younkwang Jung Issue Monitored: (SW) Kerwin Chen
2024-11-11 10:21 (SW) Bcan Yeh Note Added: 0016969
2024-11-11 10:21 (SW) Bcan Yeh Assigned To (SW) Bcan Yeh => (ALTech) JunGyu Kim
2024-11-11 10:22 (SW) Bcan Yeh Note Edited: 0016969
2024-11-11 10:48 (ALTech) JunGyu Kim Note Added: 0016971
2024-11-12 08:38 (ALTech) JunGyu Kim Note Added: 0016983
2024-11-12 10:56 (SW) Bcan Yeh Note Added: 0016986
2024-11-12 11:57 (ALTech) JunGyu Kim Note Added: 0016987
2024-11-12 13:59 (SW) Bcan Yeh Note Added: 0016988
2024-11-12 16:29 (ALTech) JunGyu Kim Note Added: 0016991
2024-11-12 17:09 (SW) Bcan Yeh Note Added: 0016992
2024-11-13 12:26 (ALTech) JunGyu Kim Note Added: 0016996
2024-11-13 12:29 (ALTech) JunGyu Kim Note Edited: 0016996
2024-11-14 09:13 (SW) Bcan Yeh Note Added: 0017009
2024-11-14 09:36 (ALTech) JunGyu Kim Status assigned => closed
2024-11-14 09:36 (ALTech) JunGyu Kim Resolution open => fixed
2024-11-14 09:36 (ALTech) JunGyu Kim Note Added: 0017010
2024-11-14 14:49 (ALTech) JunGyu Kim Assigned To (ALTech) JunGyu Kim => (SW) Bcan Yeh
2024-11-14 14:49 (ALTech) JunGyu Kim Status closed => feedback
2024-11-14 14:49 (ALTech) JunGyu Kim Resolution fixed => reopened
2024-11-14 14:49 (ALTech) JunGyu Kim Note Added: 0017017
2024-11-14 14:50 (ALTech) JunGyu Kim Status feedback => assigned
2024-11-14 14:50 (ALTech) JunGyu Kim Note Added: 0017019
2024-11-14 14:50 (ALTech) JunGyu Kim File Added: image-2.png
2024-11-15 14:57 (ALTech) JunGyu Kim Note Added: 0017026
2024-11-18 13:29 (ALTech) JunGyu Kim Note Added: 0017032
2024-11-18 14:07 (ALTech) Younkwang Jung Note Added: 0017034
2024-11-21 08:54 (ALTech) JunGyu Kim Note Added: 0017046
2024-11-21 09:06 (SW) Kerwin Chen Note Added: 0017047
2024-11-21 12:02 (ALTech) JunGyu Kim Note Added: 0017051
2024-11-21 18:44 (SW) Bcan Yeh Note Added: 0017059
2024-11-22 08:36 (ALTech) JunGyu Kim Note Added: 0017060
2024-12-19 10:52 (ALTech) JunGyu Kim Status assigned => closed